package com.mdz.sbgl.Controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.mdz.sbgl.Entity.Gsxxb;
import com.mdz.sbgl.Entity.Xsqxxb;
import com.mdz.sbgl.Mapper.XsqxxbMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 孟德志
 * @since 2020-08-21
 */
@Controller
@RequestMapping("/sbgl/xsqxxb")
public class XsqxxbController {

    @Autowired
    private XsqxxbMapper xsqxxbMapper;
    @ResponseBody
    @RequestMapping(value = "/getxsqxxb",method = RequestMethod.GET)
    public List<Xsqxxb> getxsqxxb(){
        return xsqxxbMapper.selectList(null);
    }
}

